#if !defined(MAP_UTILITY_H_)
#define MAP_UTILITY_H_

#include <filesystem>

#include "map_info.h"

namespace autodrive {
namespace perception {

/// @brief read map from json file
/// @param file_path file path
/// @param map map to read
void read_map_json(std::filesystem::path const& file_path,
                   Map& map) noexcept(false);

/// @brief write map to json file
/// @param map map to read
/// @param file_path file path
void write_map_json(Map const& map,
                    std::filesystem::path const& file_path) noexcept(false);

}  // namespace perception
}  // namespace autodrive

#endif  // MAP_UTILITY_H_
